package com.nc.delivery_project.client.schedule_details;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.*;

/**
 * Created by DRAGON on 14.01.2015.
 */
public class ScheduleDetailsView extends Composite {

    interface ScheduleDetailsViewUiBinder extends UiBinder<VerticalPanel, ScheduleDetailsView> {
    }

    private static ScheduleDetailsViewUiBinder uiBinder = GWT.create(ScheduleDetailsViewUiBinder.class);

    @UiField
    VerticalPanel panel;

    @UiField
    Label scheduleIdLbl;

    @UiField
    ListBox originLstBox;

    @UiField
    ListBox destinationLstBox;

    @UiField
    TextBox primeCostTxtBox;

    @UiField
    TextBox sellingRateTxtBox;

    @UiField
    TextBox departureDateTxtBox;

    @UiField
    TextBox arrivalDateTxtBox;

    @UiField
    TextBox tariffDateTxtBox;

     @UiField
    ListBox transportCompanyLstBox;

    @UiField
    ListBox currencyLstBox;

    @UiField
    Button saveBtn;

    @UiField
    Button removeBtn;



    private ScheduleDetailsActivity presenter;

    public ScheduleDetailsView() {
        initWidget(uiBinder.createAndBindUi(this));
    }

    public void setPresenter(ScheduleDetailsActivity presenter) {
        this.presenter = presenter;
    }

    public void start() {

    }
}
